home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ahmsyscm / _setup.1 / AHMTScreenSaver.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-11-12  |  1.7 KB  |  56 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'AHMTScreenSaver.pas' rev: 3.00
  6.  
  7. #ifndef AHMTScreenSaverHPP
  8. #define AHMTScreenSaverHPP
  9. #include <AHMSystem.hpp>
  10. #include <Classes.hpp>
  11. #include <SysUtils.hpp>
  12. #include <Messages.hpp>
  13. #include <Windows.hpp>
  14. #include <SysInit.hpp>
  15. #include <System.hpp>
  16.  
  17. //-- user supplied -----------------------------------------------------------
  18.  
  19. namespace Ahmtscreensaver
  20. {
  21. //-- type declarations -------------------------------------------------------
  22. class DELPHICLASS TAHMScreenSaver;
  23. class PASCALIMPLEMENTATION TAHMScreenSaver : public Ahmsystem::TAHMExecuteComponent 
  24. {
  25.     typedef Ahmsystem::TAHMExecuteComponent inherited;
  26.     
  27. private:
  28.     void __fastcall SetActive(bool Value);
  29.     bool __fastcall GetActive(void);
  30.     void __fastcall SetSeconds(int value);
  31.     int __fastcall GetSeconds(void);
  32.     
  33. public:
  34.     virtual bool __fastcall Execute(void);
  35.     
  36. __published:
  37.     __property bool Active = {read=GetActive, write=SetActive, nodefault};
  38.     __property int Seconds = {read=GetSeconds, write=SetSeconds, nodefault};
  39. public:
  40.     /* TAHMSystemsComponent.Create */ __fastcall virtual TAHMScreenSaver(Classes::TComponent* AOwner) : 
  41.         Ahmsystem::TAHMExecuteComponent(AOwner) { }
  42.     
  43. public:
  44.     /* TComponent.Destroy */ __fastcall virtual ~TAHMScreenSaver(void) { }
  45.     
  46. };
  47.  
  48. //-- var, const, procedure ---------------------------------------------------
  49.  
  50. }    /* namespace Ahmtscreensaver */
  51. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  52. using namespace Ahmtscreensaver;
  53. #endif
  54. //-- end unit ----------------------------------------------------------------
  55. #endif    // AHMTScreenSaver
  56.